import request from '@/utils/request'

// 刷新单条缓存
export function refreshSingle(query) {
    return request({
        url: '/ownApi/refreshSingle',
        method: 'get',
        params: query
    })
}


// 刷新全部缓存
export function refreshAll(query) {
    return request({
        url: '/ownApi/refreshAll',
        method: 'get',
        params: query
    })
}

// 复制一条数据
export function copyOne(query) {
    return request({
        url: '/ownApi/copyOne',
        method: 'get',
        params: query
    })
}
